package com.leyou.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.user.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {


    @Insert("insert into tb_user (username,password,phone) values (#{username},#{password},#{phone})")
    void register(@Param("username") String username, @Param("password") String password, @Param("phone") String phone);
}